<%@ page language="java" contentType="text/html;charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>fmt:message标签示例</title>
</head>
<body>
	<div style="margin: auto; width: 80%">
		<h2>fmt:message标签示例</h2>
		<fmt:setLocale value="zh_cn" />
		<fmt:setBundle basename="com.yiibai.Example_Cn" var="lang" />
		<fmt:message key="count.one" bundle="${lang}" />
		<br />
		<fmt:message key="count.two" bundle="${lang}" />
		<br />
		<fmt:message key="count.three" bundle="${lang}" />
		<br />
	</div>
</body>
</html>